package com.zhang.order.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zhang.order.dto.OrderItemSearchDTO;
import com.zhang.order.entity.OrderItem;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 * 订单项信息 服务类
 * </p>
 *
 * @author 创世神
 * @since 2023-12-05
 */
public interface IOrderItemService extends IService<OrderItem> {

    List<OrderItem> getListByOrderId(Long orderId);

    List<Long> getSkuIdListByOrderId(Long orderId);

    IPage<OrderItem> getBusinessOrderItems(OrderItemSearchDTO dto);
}
